GO
IF OBJECT_ID ( 'deleteUser', 'P' ) IS NOT NULL 
    DROP PROCEDURE [dbo].[deleteUser];
GO
CREATE PROCEDURE [dbo].[deleteUser]
	@UserId INT
AS
BEGIN
	DELETE [FILTER] 		WHERE [USER_ID] = @UserId
	DELETE [USER2EDUCATION] WHERE [USER_ID] = @UserId
	DELETE [USER] 			WHERE [ID] = @UserId
END
GO
